package business;

import business.article.interfaces.ArticleMgt;
import business.article.managers.ArticleMgr;
import business.client.interfaces.ClientMgt;
import business.client.managers.ClientMgr;
import business.employee.managers.EmployeeMgr;
import business.sale.interfaces.SaleMgt;
import business.sale.managers.SaleMgr;

public class BusinessFacade {
	/**
	 * Singleton implementation begin
	 */
	private static BusinessFacade instance = null;

	private BusinessFacade() {
	}

	public static BusinessFacade getInstance() {
		if (instance == null)
			instance = new BusinessFacade();
		return instance;
	}
	/**
	 * Singleton implementation end
	 */

	public ArticleMgt getArticleMgt() {
		return ArticleMgr.getInstance();
	}
	
	public SaleMgt getSaleMgt(){
		return SaleMgr.getInstance();
	}
	
	public ClientMgt getClientMgt(){
		return ClientMgr.getInstnace();
	}
	
	public EmployeeMgr getEmployeeMgt(){
		return EmployeeMgr.getInstance();
	}
	
	

}
